package com.medusa.aps.business.modules.basic.model.input;

import com.medusa.aps.business.model.pagination.Page;
import com.medusa.aps.business.modules.basic.model.output.WorkingCalendarModel;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.time.YearMonth;

/**
 * @author 张治保
 * @since 2023/10/9
 */
@Getter
@Setter
@ToString
@Accessors(chain = true)
public class WorkingCalendarPageParam extends Page<WorkingCalendarModel> {

    /**
     * 设备编码
     */
    @Schema(description = "设备编码", example = "008")
    private String deviceCode;

    /**
     * 月份
     */
    @Schema(title = "月份", description = "单月查询，不传默认查询当月后期数据", type = "string", example = "2023-10")
    private YearMonth month;
}
